package com.alibaba.entity;

/**
 * Admin entity. 
 * @author kinglcc
 */

@SuppressWarnings("serial")
public class Admin implements java.io.Serializable {

	// Fields

	private Integer adminId;
	private String adminName;
	private String passWord;
	private String email;
	private String adminRights;

	// Constructors

	/** default constructor */
	public Admin() {
	}

	/** minimal constructor */
	public Admin(String adminName, String passWord) {
		this.adminName = adminName;
		this.passWord = passWord;
	}

	/** full constructor */
	public Admin(String adminName, String passWord, String email,
			String adminRights) {
		this.adminName = adminName;
		this.passWord = passWord;
		this.email = email;
		this.adminRights = adminRights;
	}

	// Property accessors

	public Integer getAdminId() {
		return this.adminId;
	}

	public void setAdminId(Integer adminId) {
		this.adminId = adminId;
	}

	public String getAdminName() {
		return this.adminName;
	}

	public void setAdminName(String adminName) {
		this.adminName = adminName;
	}

	public String getPassWord() {
		return this.passWord;
	}

	public void setPassWord(String passWord) {
		this.passWord = passWord;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getAdminRights() {
		return this.adminRights;
	}

	public void setAdminRights(String adminRights) {
		this.adminRights = adminRights;
	}

}